﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SHKF.B2C.MQBase.Model.Order
{
    /// <summary>
    /// 更新第三方平台的库存-有赞云
    /// </summary>
   public class UpdateStock
    {
        /// <summary>
        /// 分仓数据库Key
        /// </summary>
        public string ServerName { get; set; }

        /// <summary>
        /// 分仓SN
        /// </summary>
        public string WarehousSN { get; set; }

        /// <summary>
        /// 借方:0 　　代方:1
        /// </summary>
        public int Forward { get; set; }

        /// <summary>
        /// 红蓝字: 0:蓝  1:红
        /// </summary>
        public int Rubric { get; set; }

        /// <summary>
        /// 摘要
        /// </summary>
        public string Summary { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Memo { get; set; }

        /// <summary>
        /// Erp: Plat
        /// </summary>
        public string Key { get; set; } 
        public List<ProductStock> Data { get; set; }
    }

    public class ProductStock
    {
        /// <summary>
        /// Erp产品SN
        /// </summary>
        public long ProductSN { get; set; }
        public int Qty { get; set; }  
    }
}
